package com.ruoyi.supervise.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.enums.DataSourceType;
import com.ruoyi.supervise.domain.PermitApplyInfo;
import com.ruoyi.supervise.mapper.PermitApplyInfoMapper;
import com.ruoyi.supervise.service.IPermitApplyInfoService;

/**
 * @ClassName: MyTestServiceImpl
 * @Description: 测试从数据源
 * @Author wtj
 * @DateTime 2020年3月9日 上午10:41:31
 */
@Service
@DataSource(value = DataSourceType.SLAVE)
public class PermitApplyInfoServiceImpl implements IPermitApplyInfoService 
{
    @Autowired
    private PermitApplyInfoMapper permitApplyInfoMapper;

	@Override
	public PermitApplyInfo selectPermitApplyInfoBuGuid(PermitApplyInfo PermitApplyInfo) {
		// TODO Auto-generated method stub
		return permitApplyInfoMapper.selectPermitApplyInfoBuGuid(PermitApplyInfo);
	}

}
